//
//  ResponseHeader.h
//  rmipclient
//
//  Created by bob on 16/1/5.
//  Copyright © 2016年 bob. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface ResponseHeader : NSObject

///业务指令
@property(nonatomic,strong) NSString   *func;
///时间戳
@property(nonatomic,strong) NSString   *status;
///校验码
@property(nonatomic,strong) NSString   *info;
///序列标识
@property(nonatomic,strong) NSString   *seqid;
///数据类型，参见DataType枚举定义
@property(assign) NSInteger  datatype;

///解析消息头信息
-(BOOL)parse:(NSMutableDictionary*)dict_root;
///设置状态结果信息
-(void)setResult:(NSString*)status Info:(NSString*)info;

///获取消息头
-(NSMutableDictionary*)getHeader;


@end
